#include <iostream>

using namespace std;

auto calc(int a,int b,bool op_add)
{
    if(op_add)
    {
        return a+b;
    }
    else
    {
        return a*b;
    }
}

int main()
{
    cout<<calc(5,9,true)<<endl;
    cout<<calc(5,9,false)<<endl;
}